package com.regulareport.form.service.impl;

import com.regulareport.common.core.domain.entity.ReportFormsEdit;
import com.regulareport.form.domain.PageNotSearchVO;
import com.regulareport.form.mapper.ReportFormsEditMapper;
import com.regulareport.form.service.IHeadSubSheetMapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HeadSubSheetMapService implements IHeadSubSheetMapService {
    @Autowired
    private ReportFormsEditMapper reportFormsEditMapper;

    @Override
    public List<ReportFormsEdit> selectHeadSubSheetMapList() {
        return reportFormsEditMapper.selectMaxReport();
    }

    @Override
    public int updateHeadSubSheetMaps(List<ReportFormsEdit> reportFormsEdits) {
        return reportFormsEditMapper.updateSheetMap(reportFormsEdits);
    }
}
